home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / Booting Gallery / Booting Gallery (source) / (Libraries) / Hubauer / Patching / Patches.h < prev   
Encoding:
C/C++ Source or Header  |  1996-06-22  |  376 b   |  20 lines  |  [TEXT/KAHL]

  1.  
  2. #pragma once
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. long    PatchTrap(short trap,long newProc);
  9.  
  10. void    PatchTrapSafe(short trap,long newProc,long *oldProc);
  11.  
  12. void BSetTrapAddress(long proc,short trap,short tType);
  13. long BGetTrapAddress(short trap,short tType);
  14.  
  15. long BGetTrapAddress1(short trapWord);
  16. void BSetTrapAddress1(long proc,short trapWord);
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20.